/*
 * AllegroException.h
 *
 *  Created on: 08/12/2008
 *      Author: fernando
 */

#ifndef ALLEGROEXCEPTION_H_
#define ALLEGROEXCEPTION_H_

#include "Exception.h"

namespace core {

/**
 * Exceção ocorrida na biblioteca Allegro.
 *
 * @author fernando
 */
class AllegroException: public Exception {
	static const char* _id;
public:
	AllegroException() throw();
	AllegroException(const char* what) throw();
	AllegroException(const char* what, const char* cause) throw();
	AllegroException(int allegro_error_code) throw();
	AllegroException(int allegro_error_code, const char* cause) throw();

	virtual ~AllegroException() throw();
};

}

#endif /* ALLEGROEXCEPTION_H_ */
